package request

type PlatformAddReq struct {
	PlatformName    string `form:"platform_name" binding:"required" json:"platform_name"`
	PlatformVersion string `form:"platform_version" binding:"required"  json:"platform_version"`
	VersionCode     string `form:"version_code" binding:"required" json:"version_code"`
	StartUpdateTime string `form:"start_update_time" binding:"required" json:"start_update_time"`
	FileUrl         string `form:"file_url" binding:"required" json:"file_url"`
}

type PlatformUpdateReq struct {
	Id              int64  `form:"id" binding:"required" json:"id"`
	PlatformName    string `form:"platform_name" json:"platform_name"`
	PlatformVersion string `form:"platform_version" json:"platform_version"`
	VersionCode     string `form:"version_code" json:"version_code"`
	StartUpdateTime string `form:"start_update_time" json:"start_update_time"`
	FileUrl         string `form:"file_url"  json:"file_url"`
}

type ApplicationAddReq struct {
	AppName         string `form:"app_name" binding:"required" json:"app_name"`
	AppSortOrder    uint32 `form:"app_sort_order" binding:"required" json:"app_sort_order"`
	AppPackageName  string `form:"app_package_name" binding:"required" json:"app_package_name"`
	AppStatus       int8   `form:"app_status" binding:"required" json:"app_status"`
	StartUpdateTime string `form:"start_update_time" binding:"required" json:"start_update_time"`
	FileUrl         string `form:"file_url" binding:"required" json:"file_url"`
}

type ApplicationUpdateReq struct {
	AppName         string `form:"app_name"  json:"app_name"`
	AppSortOrder    uint32 `form:"app_sort_order"  json:"app_sort_order"`
	AppPackageName  string `form:"app_package_name"  json:"app_package_name"`
	AppStatus       int8   `form:"app_status"  json:"app_status"`
	StartUpdateTime string `form:"start_update_time"  json:"start_update_time"`
	FileUrl         string `form:"file_url"  json:"file_url"`
	Id              int64  `form:"id" binding:"required" json:"id"`
}

type DriverAppAddReq struct {
	DriverAppName    string `form:"driver_app_name" binding:"required" json:"driver_app_name"`
	DriverAppVersion string `form:"driver_app_version" binding:"required" json:"driver_app_version"`
	LaunchSystem     int32  `form:"launch_system" binding:"required" json:"launch_system"`
	IsForceUpdate    int32  `form:"is_force_update" binding:"required" json:"is_force_update"`
	UpdateText       string `form:"update_text" binding:"required" json:"update_text"`
	StartUpdateTime  string `form:"start_update_time" binding:"required" json:"start_update_time"`
	FileUrl          string `form:"file_url" binding:"required" json:"file_url"`
}
type DriverAppUpdateReq struct {
	Id               int64  `form:"id" binding:"required" json:"id"`
	DriverAppName    string `form:"driver_app_name" json:"driver_app_name"`
	DriverAppVersion string `form:"driver_app_version" json:"driver_app_version"`
	LaunchSystem     int32  `form:"launch_system" json:"launch_system"`
	IsForceUpdate    int32  `form:"is_force_update" json:"is_force_update"`
	UpdateText       string `form:"update_text" json:"update_text"`
	StartUpdateTime  string `form:"start_update_time" json:"start_update_time"`
	FileUrl          string `form:"file_url"  json:"file_url"`
}
type PassengerAppAddReq struct {
	PassengerAppName    string `form:"passenger_app_name" binding:"required" json:"passenger_app_name"`
	PassengerAppVersion string `form:"passenger_app_version" binding:"required" json:"passenger_app_version"`
	LaunchSystem        int32  `form:"launch_system" binding:"required" json:"launch_system"`
	IsForceUpdate       int32  `form:"is_force_update" binding:"required" json:"is_force_update"`
	UpdateText          string `form:"update_text" binding:"required" json:"update_text"`
	StartUpdateTime     string `form:"start_update_time" binding:"required" json:"start_update_time"`
	FileUrl             string `form:"file_url" binding:"required" json:"file_url"`
}
type PassengerAppUpdateReq struct {
	Id                  int64  `form:"id" binding:"required" json:"id"`
	PassengerAppName    string `form:"passenger_app_name" json:"passenger_app_name"`
	PassengerAppVersion string `form:"passenger_app_version" json:"passenger_app_version"`
	LaunchSystem        int32  `form:"launch_system" json:"launch_system"`
	IsForceUpdate       int32  `form:"is_force_update" json:"is_force_update"`
	UpdateText          string `form:"update_text" json:"update_text"`
	StartUpdateTime     string `form:"start_update_time" json:"start_update_time"`
	FileUrl             string `form:"file_url" json:"file_url"`
}
type CarAppUpdateAddReq struct {
	CarAppName      string `form:"car_app_name" binding:"required" json:"car_app_name"`
	CarAppVersion   string `form:"car_app_version" binding:"required" json:"car_app_version"`
	VersionCode     string `form:"version_code" binding:"required" json:"version_code"`
	UpdateText      string `form:"update_text" binding:"required" json:"update_text"`
	StartUpdateTime string `form:"start_update_time" binding:"required" json:"start_update_time"`
	FileUrl         string `form:"file_url" binding:"required" json:"file_url"`
}
type CarAppUpdateReq struct {
	Id              int64  `form:"id" binding:"required" json:"id"`
	CarAppName      string `form:"car_app_name"  json:"car_app_name"`
	CarAppVersion   string `form:"car_app_version"  json:"car_app_version"`
	VersionCode     string `form:"version_code"  json:"version_code"`
	UpdateText      string `form:"update_text"  json:"update_text"`
	StartUpdateTime string `form:"start_update_time"  json:"start_update_time"`
	FileUrl         string `form:"file_url"  json:"file_url"`
}
type OrganizationAddReq struct {
	OrganizationName   string `form:"organizationName" binding:"required"   json:"organizationName"`
	OrganizationCode   string `form:"organizationCode" binding:"required"   json:"organizationCode"`
	AdministrativeCode string `form:"administrativeCode" binding:"required"   json:"administrativeCode"`
	ServiceAddress     string `form:"serviceAddress" binding:"required"   json:"serviceAddress"`
	HeaderName         string `form:"headerName" binding:"required"   json:"headerName"`
	HeaderMobile       string `form:"headerMobile" binding:"required"   json:"headerMobile"`
	ManagerName        string `form:"managerName" binding:"required"   json:"managerName"`
	ManagerMobile      string `form:"managerMobile" binding:"required"   json:"managerMobile"`
	OrganizationMobile string `form:"organizationMobile" binding:"required"   json:"organizationMobile"`
	MailingAddress     string `form:"mailingAddress" binding:"required"   json:"mailingAddress"`
	RegisterTime       string `form:"registerTime" binding:"required"   json:"registerTime"`
	Status             int32  `form:"status" binding:"required"   json:"status"`
}
type OrganizationUpdateReq struct {
	Id                 int64  `form:"id" binding:"required"   json:"id"`
	OrganizationName   string `form:"organizationName"   json:"organizationName"`
	OrganizationCode   string `form:"organizationCode"   json:"organizationCode"`
	AdministrativeCode string `form:"administrativeCode"   json:"administrativeCode"`
	ServiceAddress     string `form:"serviceAddress"   json:"serviceAddress"`
	HeaderName         string `form:"headerName"   json:"headerName"`
	HeaderMobile       string `form:"headerMobile"   json:"headerMobile"`
	ManagerName        string `form:"managerName"   json:"managerName"`
	ManagerMobile      string `form:"managerMobile"   json:"managerMobile"`
	OrganizationMobile string `form:"organizationMobile"   json:"organizationMobile"`
	MailingAddress     string `form:"mailingAddress"   json:"mailingAddress"`
	RegisterTime       string `form:"registerTime"   json:"registerTime"`
	Status             int32  `form:"status"   json:"status"`
}
type BusinessLicenseInformationAddReq struct {
	OrganizationName     string `form:"organizationName" binding:"required"  json:"organizationName"`
	AdministrativeCode   string `form:"administrativeCode" binding:"required"  json:"administrativeCode"`
	PermitCode           string `form:"permitCode" binding:"required"  json:"permitCode"`
	BusinessScope        string `form:"businessScope" binding:"required"  json:"businessScope"`
	SendOrganizationName string `form:"sendOrganizationName" binding:"required"  json:"sendOrganizationName"`
	LicenseStartDate     string `form:"licenseStartDate" binding:"required"  json:"licenseStartDate"`
	LicenseEndDate       string `form:"licenseEndDate" binding:"required"  json:"licenseEndDate"`
	IssuanceDate         string `form:"issuanceDate" binding:"required"  json:"issuanceDate"`
	Status               int32  `form:"status" binding:"required"  json:"status"`
}
type BusinessLicenseInformationUpdateReq struct {
	Id                   int64  `form:"id" binding:"required"  json:"id"`
	OrganizationName     string `form:"organizationName"  json:"organizationName"`
	AdministrativeCode   string `form:"administrativeCode"  json:"administrativeCode"`
	PermitCode           string `form:"permitCode"  json:"permitCode"`
	BusinessScope        string `form:"businessScope"  json:"businessScope"`
	SendOrganizationName string `form:"sendOrganizationName"  json:"sendOrganizationName"`
	LicenseStartDate     string `form:"licenseStartDate"  json:"licenseStartDate"`
	LicenseEndDate       string `form:"licenseEndDate"  json:"licenseEndDate"`
	IssuanceDate         string `form:"issuanceDate"  json:"issuanceDate"`
	Status               int32  `form:"status"  json:"status"`
}
